package creatures;
import main.*;

/*
 * A class that creates an elf archer, a fragile creature that can shoot from a range
 */

public class ElfArcher extends Enemy {
	public ElfArcher() {
		curHealth = 20;
		maxHealth = 20;
		strength = 15;
		Weapon bow = new Weapon();
		bow.damage = 5;
		bow.attackSpeed = 2;
		bow.range=4;
		weapon1 = bow;
		level = 2;
		armor = 1;	
		experience=6;
	}
	
	public ElfArcher(int x, int y, String name, String image) {
		super(x,y,name,image);
		curHealth = 20;
		maxHealth = 20;
		strength = 15;
		Weapon bow = new Weapon();
		bow.damage = 5;
		bow.attackSpeed = 2;
		bow.range=4;
		weapon1 = bow;
		level = 1;
		armor = 0;	
		experience=5;
	}
	
	public ElfArcher(int x, int y, String name) {
		super(x,y,name);
		curHealth = 20;
		maxHealth = 20;
		strength = 15;
		Weapon bow = new Weapon();
		bow.damage = 5;
		bow.attackSpeed = 2;
		bow.range=4;
		weapon1 = bow;
		level = 1;
		armor = 0;	
		experience=5;
	}
	
	public void ai(Player p){
		super.ai(this, p);
	}
	
}